package com.zkthink.ceres.applet.propertyDetail.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**

@Author cmz
@Date 2024-04-30 9:40
*/
@Data
@TableName(value = "applet_property_detail")
public class AppletPropertyDetail {
    /**
     * 资产明细表主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "mid")
    private Long mid;

    /**
     * 金额类型
     */
    @TableField(value = "money_type")
    private String moneyType;

    /**
     * 图片
     */
    @TableField(value = "logoimg")
    private String logoimg;

    /**
     * 金额
     */
    @TableField(value = "costs")
    private BigDecimal costs;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 最后修改人
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 最后修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @TableField(value = "is_delete")
    @TableLogic(value = "0",delval = "1")
    private Integer isDelete;

    public static final String COL_ID = "id";

    public static final String COL_MID = "mid";

    public static final String COL_MONEY_TYPE = "money_type";

    public static final String COL_LOGOIMG = "logoimg";

    public static final String COL_COSTS = "costs";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_IS_DELETE = "is_delete";
}